package com.neusoft.resturant.entity;



import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 菜品对象 res_dishes
 * 
 * @author lzx
 * @date 2023-10-15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResDishes
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;


    private String name;


    private String pic;

    /** 菜品描述 */
    private String description;

    /** 菜品价格 */

    private BigDecimal price;

    /** 菜品分类 */

    private String category;


    /** 所属店铺id */

    private Long shopId;
    private String shopName;

//    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
//    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
